Matlab program that impement the algorithm described in "MR Image Segmentation Using a Power Transformation Approach", IEEE Trans Medical Imaging, vol. 28, No. 6, 2009.

1. Before using this program, add the fileio folder into Matlab path.
2. The MR images to be segmented are assumed to be already bias-corrected.
3. The image intensities are assumed to be integer values.
4. Run the program as belows:
[Lk W M V Lam PK_Y]=gm_lambda2('mr.img',3,[1;2;2],[0.05; 0.5; 0.45],[],[],[0 0.1;0 065;0 0.5]);
5. For more information, type "help gm_lambda2" in Matlab.